Skip to content

Switch the default minimum allowed plugin processor message severity from NOTE to ERROR - #4256

Open
vy wants to merge 6 commits into
2.xfrom
pluginMessage
Open

vy wants to merge 6 commits into
2.xfrom
pluginMessage

Conversation

@vy

@vy vy commented Aug 27, 2026

Copy link
Copy Markdown
Member

Fixes #4225

@ramanathan1504 ramanathan1504 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vy
Does plugins.adoc need a change too? It still describes the notes as on by default.

Changing the default instead of removing the notes keeps the option useful for people who still want them, and notesSuppressedByDefaultWithoutAffectingMetadataGeneration shows the descriptor files are still written.

One thing has no line to comment on. The collapsible block in plugins.adoc, "Suppressing annotation processor notes in strict build environments", still says both processors emit NOTE-level diagnostics by default and that this option turns them off, and it lists NOTE (default) among the accepted values. The Maven and Gradle snippets under it pass =WARNING, which suppresses nothing now.

CI also failing because of spotless not applied correctly.

@vy

vy commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

Does plugins.adoc need a change too?

@ramanathan1504, good call. Fixed in 5402ef3.

@vy

vy commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

CI also failing because of spotless not applied correctly.

@ramanathan1504, right. Fixed in d1a559a.

@ramanathan1504 ramanathan1504 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing left inline on the plugins.adoc title. Thanks 🙏

@@ -218,12 +218,11 @@ Provide these values to the processor using the `log4j.graalvm.groupId` and `log
.Suppressing annotation processor notes in strict build environments

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title still says suppressing, but this now turns notes on

Suggested change
.Suppressing annotation processor notes in strict build environments
.Enabling annotation processor notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

Consider making plugin builds less chatty

2 participants